from ronglian_sms_sdk import SmsSDK
import json

def sendMsg(mobile,code):
    accid = 'sfsdbgdhghsrgdhf'
    acctoken = 'sgdhfhgkhuklijlo'
    appid = 'afsdbhfjgkmhljl'
    sdk = SmsSDK(accid,acctoken,appid)
    tid = '1'
    datas = (code,'5')
    resp = sdk.sendMessage(tid,mobile,datas)
    return resp